package com.diancan.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;

// 菜品
@Data
public class Good {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private BigDecimal price;
    private String introduction;
    private String img;
    private Integer allCount;
    private Integer mouthCount;
    private String remark;
    private String created;
    private Integer tabId;
    private String tabName;
    private Integer putaway;
    @TableField(exist = false)
    private Integer count = 0;
}
